/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once
//#include <基本类型.h>

#include <MBT_Engine.h>
#include <物理/物理.h>


Inline S_物体* f_从骨头取末端骨节(S_物体* 骨头) {
	return ((S_物体*)骨头->m_UserData);
}
Inline S_物体* f_从骨头取前端骨节(S_物体* 骨头) {
	return ((S_物体*)骨头->m_父对象->m_UserData);
}



API_EXPORT void f_NDE_解算IK(S_物体* 根骨骼);

API_EXPORT std::string f_NE_get物理缓存路径(S_Physics* Physics, const std::string& type, ivec2 区间, int32 帧, bool 序列);

API_EXPORT int32 f_NE_get着色器节点树ID(void* tree);

